package com.whut.monitor.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by CFlower on 2017/11/7.
 */
public class TimeMachiningVo {
    private Integer id;
    private Integer equipmentId;                // 设备id
    private Integer machiningId;                // 工况id
    private String  equipmentName;              // 设备名称
    private String  machiningName;            // 工况名称

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date machiningDate;                 // 工况日期

    @DateTimeFormat(pattern="HH:mm:ss")
    private Date startTime;                     // 加工开始时间

    @DateTimeFormat(pattern="HH:mm:ss")
    private Date endTime;                       // 加工结束时间

    private String  descript;                   // 备注

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEquipmentId() {return equipmentId;}
    public void setEquipmentId(Integer equipmentId) {
        this.equipmentId = equipmentId;
    }

    public Integer getMachiningId() {
        return machiningId;
    }
    public void setMachiningId(Integer machiningId) {
        this.machiningId = machiningId;
    }

    public Date getMachiningDate() {
        return machiningDate;
    }
    public void setMachiningDate(Date machiningDate) {
        this.machiningDate = machiningDate;
    }

    public Date getStartTime() {
        return startTime;
    }
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getEquipmentName() {
        return equipmentName;
    }
    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getMachiningName() {
        return machiningName;
    }
    public void setMachiningName(String machiningName) {
        this.machiningName = machiningName;
    }

    public String getDescript() {
        return descript;
    }
    public void setDescript(String descript) {
        this.descript = descript;
    }
}
